package ch.exm.storm.functional.matcher;

import static ch.exm.storm.functional.matcher.CoreMatchers.not;

public class IsNull implements Matcher {

    public boolean matches(Object o) {
        return o == null;
    }
    
    public static Matcher nullValue() {
        return new IsNull();
    }

    public static Matcher notNullValue() {
        return not(IsNull.nullValue());
    }
}
